import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import BookViewer from './views/BookView.vue'
import Video from './views/VideoView.vue'
import VideoPlay from './views/VideoPlay.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: Home
    },
    {
      path: '/book',
      name: 'book',
      component: BookViewer
    },
    {
      path: '/video',
      name: 'Video',
      component: Video
    },
    {
      path: '/videoPlay',
      name: 'VideoPlay',
      component: VideoPlay
    }
  ]
})
